<template>
    <div class="title">
        <div class="line"></div>
        <div class="text">{{titletext}}</div>
        <div class="line"></div>
    </div>
</template>

<script>
export default {
  props: {
    titletext: {
      type: String
    }
  }
}
</script>

<style lang='stylus' scoped>
.title
    display: flex
    align-items: center
    .line
        flex: 1
        height: 1px
        background: rgba(255,255,255,0.2)
    .text
        padding: 0 12px
        font-weight: 700
        font-size: 14px
</style>
